#!/bin/bash
src/testasm || exit 1
gcc -c nreduce.s || exit 1
objdump -D nreduce.o > myasm
nasm -f elf test.asm || exit 1
objdump -D test.o > realasm
diff -u myasm realasm
